home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compendium Deluxe 1
/
LSD Compendium Deluxe 1.iso
/
a
/
programming
/
misc
/
ace-2.0.lha
/
MAIN.lha
/
include
/
fexists.h
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1994-01-10
|
335 b
|
20 lines
{ FEXISTS(x$) -- returns true if file exists otherwise false.
Author: David J Benn
Date: 28th February 1993,
2nd January 1994 }
sub fexists(x$)
if x$="" then
fexists=0
else
open "I",#255,x$
if handle(255) <> 0& then
close #255
fexists=-1
else
fexists=0
end if
end if
end sub